import request from '../utils/request'

export function FindMenuList() {
    return request({
        url:'menu/get',
        method:'get'
    })
}

/**
 * 添加菜单
 * @param data
 * @returns {AxiosPromise}
 * @constructor
 */
export function AddMenu(data){
    return request({
        url:'menu/save',
        method: 'post',
        data,
    })
}
